<template>
	<view class="list-image-box">
		<view class="left-image">
			<image :src="item.image_name"></image>
		</view>
		<view class="left-text">
			<view class="text-title">
				{{item.text_name}}
				<view class="access">
					{{item.number}}
				</view>
			</view>
			<view class="text-area">
				<view class="text-center">
					{{item.text}}
				</view>
				{{item.foot}}
			</view>
			<view class="foot">
				{{item.right}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "work-body",
		props:{
			item:{
				type:Object
			}
		},
		data() {
			return {
				
			};
		},
	}
</script>

<style lang="scss" scoped>
	.list-image-box {
		border-top: 1px solid #DCDFE6;
		display: flex;
		margin: 20rpx;

		.left-image {
			// display: flex;
			margin-top: 20rpx;

			image {
				width: 200rpx;
				height: 300rpx;
				margin-right: 30rpx;
				border-radius: 10rpx;
			}
		}

		.left-text {
			.text-title {
				display: flex;
				justify-content: space-between;
				font-size: 40rpx;
				margin-top: 20rpx;

				.access {
					color: #EB2B35;
					font-size: 30rpx;
					margin: 10rpx;
				}
			}

			.text-area {
				font-size: 30rpx;
				color: gray;
				padding: 20rpx 0;

				.text-center {
					font-size: 30rpx;
					color: gray;
					height: 100rpx;
					padding: 20rpx 0;
					margin-bottom: 10rpx;
					white-space: wrap;
					overflow: hidden;
					text-overflow: ellipsis;
				}
			}

			.foot {
				display: flex;
				border: 1px solid #18B566;
				font-size: 24rpx;
				color: #18B566;
				background: #fff;
				border-radius: 25rpx;
				width: 80rpx;
				padding: 10rpx;
				margin-top: 10rpx;
				text-align: center;

			}
		}

	}
</style>
